﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace WpfApp1
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {

        MainWindow mainWindow;
        WindowTest windowTest;
        // 添加启动参数的处理
        protected override void OnStartup(StartupEventArgs e)
        {
            //mainWindow = new WpfApp1.MainWindow();
            windowTest = new WindowTest();
            //mainWindow = new WpfApp1.MainWindow();
            //if (e.Args.Length > 0)
            //{
            //    mainWindow.ShowEx(e.Args);
            //    mainWindow.Show();
            //}
            //else
            //{
            //   mainWindow.Show();
            //}
             windowTest.Show();
        }




    }
}
